﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibGreen.Oscar.Snac
{
	/// <summary>
	/// Represents a SNAC header. A SNAC is the basic communication unit sent between client and server
	/// </summary>
	public class SNACHeader
	{
		/// <summary>
		/// Identifies which service group this SNAC belongs to
		/// </summary>
		public ushort FamilyServiceID;

		/// <summary>
		/// Further divides the service group identified by FamilyServiceID
		/// </summary>
		public ushort FamilySubtypeID;

		/// <summary>
		/// General SNAC properties
		/// </summary>
		public ushort Flags;

		/// <summary>
		/// Used in request-response exchanges, the client sets the RequestID and the server responds with a SNAC having an identical RequestID
		/// </summary>
		public uint RequestID;
	}
}
